package com.yang.exception;

import lombok.Getter;


/**
 * 业务异常
 *
 * @author yang
 * @date 2022/12/02 16:18
 **/
@Getter
public final class ServiceException extends RuntimeException {



    /**
     * 返回信息
     */
    private final String message;

    public ServiceException(String message) {
        this.message = message;
    }

}